Home

Operator Usage

Name

remove-prefix

Description

remove-prefix["str"] ket
if ket has prefix str then remove it


Examples

remove-prefix["not "] |not sitting at the beach>
    |sitting at the beach>

remove-prefix["word: "] |word: table>
    |table>

remove-prefix["food: "] |word: chair>
    |word: chair>


See also

Operator type

ket compound